package splash.core.security;

import java.util.ArrayList;


public class UserList extends ArrayList<User>
{
	@Override
	public boolean add(User u)
	{
		for(int i = 0; i < this.size(); i++)
			if(this.get(i).getUsername().equalsIgnoreCase(u.getUsername()))
				return false;

		return super.add(u);
	}
}